package porte;


import java.io.Serializable;
import java.rmi.Remote;
import java.rmi.RemoteException;

public interface Client extends Remote {
	
    	public static final String NAME = "ServeurDeVoitre";
    	
    	public static int nombreDePlaceLibre = 5;
    	
    	public static int nombreDePortes = 3;
        
        void receiveMessage(int from, int to, Serializable msg) throws RemoteException;
        
    	// Demande d'entree
    	public void demandeEntree() throws RemoteException;
    	
    	// Demande de sortir
    	public void demandeSortie() throws RemoteException;
    	
    	
}